const nodeExternals = require('webpack-node-externals');

module.exports = {
  // 其他配置...
  externals: [nodeExternals()],
};